<!--更新角色-->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div th:fragment="updatedRoleModal">
    <template id="updatedRoleModal">
        <div>
            <el-dialog title="更新" :visible.sync='show_updated_role_modal' :show-close="false" size="mini" center :close-on-click-modal="false" :close-on-press-escape="false">
                <div slot="footer" class="dialog-footer">
                    <el-button size="mini" @click="cancelupdatedRoleDilogHandle">取 消</el-button>
                    <el-button size="mini" @click="confirmupdatedRoleDilogHandle" type="primary" >确 定</el-button>
                </div>
            </el-dialog>
        </div>
    </template>
    <script>
        const UpdatedRoleModal = {
            props: {
                show_updated_role_modal: Boolean
            },
            template: '#updatedRoleModal',
            data(){
                return {
                }
            },
            methods:{
                cancelupdatedRoleDilogHandle: function (){
                    this.$emit('updated_role_modal_close');
                },
                confirmupdatedRoleDilogHandle: function () {
                    this.cancelupdatedRoleDilogHandle();
                },
            },
        }
    </script>
</div>
</html>